net: fec_mxc: specify the registered eth index by dev_id
authorAndy Duan <[email protected]>
Mon, 10 Apr 2017 11:44:35 +0000 (19:44 +0800)
committerStefano Babic <[email protected]>
Thu, 18 May 2017 09:23:31 +0000 (11:23 +0200)
commit979a58936bc2b0108363501f9fd7e53ce2519bb0
tree43d6f45c1e0945fd95eec49320f8736bb920615d
parentf01e4e1e148b11b4021e241e3940c664bcd79b71
net: fec_mxc: specify the registered eth index by dev_id

Specify the registered eth index by dev_id.

Signed-off-by: Fugang Duan <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Cc: Joe Hershberger <[email protected]>
drivers/net/fec_mxc.c